package com.battle.pojo.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;
import nirvana.core.domains.enums.Enums;

/**
 * 题目类型：0单选，1多选，2判断
 * @author anni.zhu
 * @author anni.zhu@king-v.com
 * Created in 2025/2/19 15:45
 */
@Getter
@AllArgsConstructor
public enum QuestionBankTypeEnum implements Enums<QuestionBankTypeEnum> {
    radio(0,"单选"),
    multiple(1,"多选"),
    judge(2,"判断"),
    ;
    @JsonValue
    @EnumValue
    private Integer id;
    private String name;
}
